package com.smarthealthcare.device.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.smarthealthcare.common.annotation.Excel;
import com.smarthealthcare.common.core.domain.BaseEntity;
import com.smarthealthcare.common.core.domain.entity.SysUser;
import com.smarthealthcare.devicetype.domain.Devicetype;
import com.smarthealthcare.domain.Department;
import com.smarthealthcare.ward.domain.Ward;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 设备列表对象 device
 * 
 * @author YF
 * @date 2024-11-24
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Device extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设备id */
    private Long id;

    /** 设备状态 */
    @Excel(name = "设备状态")
    private String status;

    /** 设备编号 */
    @Excel(name = "设备编号")
    private String number;

    /** 设备图片 */
    @Excel(name = "设备图片")
    private String picture;

    /** 设备类型 */
    @Excel(name = "设备类型")
    private Long equipmentId;

    /** 设备厂家 */
    @Excel(name = "设备厂家")
    private Long companyId;

    /** 链接类型 */
    @Excel(name = "链接类型")
    private String linkType;

    /** 应用位置 */
    @Excel(name = "应用位置")
    private Long location;

    /** 检查科室 */
    @Excel(name = "检查科室")
    private Long checkRoom;

    /** 操作人员 */
    @Excel(name = "操作人员")
    private Long operateId;

    /** 在线时长 */
    @Excel(name = "在线时长")
    private Long time;

    /** 检查报警次数 */
    @Excel(name = "检查报警次数")
    private String reversoContext;

    /** 添加时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "添加时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date starttime;

    /** 逻辑删除 */
    private Long del;

    private Manufacturer manufacturer;
    private Devicetype devicetype;
    private Department department;
    private Ward ward;
    private SysUser sysUser;

}
